package com.kldy8.kldyw.filmfactory.bean;

import android.support.design.widget.TabLayout;
import android.view.LayoutInflater;

import com.kldy8.kldyw.R;
import com.kldy8.kldyw.filmfactory.equipment.DeviceActivity;
import com.kldy8.kldyw.tools.widget.view.ExpandTabView;

import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

/**
 * 影视公司
 * Created by user on 2016/10/14.
 */

public class Company
{
    public String company_id;
    public String logo;
    public String description;
    public String city;
    public String name;
    public String url;

    public static Company resolution(JSONObject jsonObject)
    {
        if (jsonObject == null)
        {
            return  null;
        }

        Company m_new = new Company();
        m_new.company_id = jsonObject.optString("company_id");
        m_new.logo = jsonObject.optString("logo");
        m_new.description = jsonObject.optString("description");
        m_new.city = jsonObject.optString("city");
        m_new.name = jsonObject.optString("name");
        m_new.url = jsonObject.optString("url");
        return m_new;
    }



}
